* allout-widgets.el (allout-widgets-post-command-business): Stop decorating
authorKen Manheimer <ken.manheimer@gmail.com>
Sun, 26 Jun 2011 16:47:39 +0000 (12:47 -0400)
committerKen Manheimer <ken.manheimer@gmail.com>
Sun, 26 Jun 2011 16:47:39 +0000 (12:47 -0400)
commit75a062378a8972bd0f31498f8266ff6f228137bb
treefbba47a2d89d1aae077ab02d58f20146cf5b1547
parent729d4808e86509e89eb10ead32dfefd5bd4437de
* allout-widgets.el (allout-widgets-post-command-business): Stop decorating
intermediate isearch matches.  They're not being undecorated when an
isearch is continued past, and isearch automatically collapses them.  This
leads to "widget leaks", where decorated items accumulate in collapsed
areas.  Lines with lots of hidden widgets can slow down cursor travel,
substantially.  Too much complicated machinery would be needed to ensure
undecoration, so we're doing without this nicety.

(allout-widgets-tally-string): Don't try to do a hash-table-count of
allout-widgets-tally when it's nil.  This eliminates spurious "Error during
redisplay: (wrong-type-argument hash-table-p nil)" warnings in *Messages*
when allout-widgets-maintain-tally is t.
lisp/ChangeLog
lisp/allout-widgets.el